package com.example.dnm.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.example.dnm.resp.Page;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class Role  {
    private Integer id;
    private  String rolename;
    @TableField(exist = false)
    private  Integer page;
    @TableField(exist = false)
    private  Integer size;
    @TableField(exist = false)
    private List<Menu> menus;
}
